/**
 * old api
 */
export enum MessageType {
  sms = "sms",
  push = "push",
  email = "email",
  wechat = "wechat",
  notification = "notification",
}
export enum NotifyType {
  aliyunsms = "aliyunsms",
  jpushsms = "jpushsms",
  email = "email",
  jpush = "jpush",
  wechatmq = "wechatmq",
  notification_notify = "notification_notify",
}
export enum BusinessType {
  SYS_NOTICE = "SYS_NOTICE",
  EARLY = "EARLY",
}
export enum MessageState {
  SENDING = "SENDING",
  SENDED = "SENDED",
}
export interface MsgTempGrpItem {
  messageTemplateGroupName?: string;
  pushBusinessType?: string;
  messageTemplateGroupId?: string;
  createdBy?: string;
  createdOn?: string;
  isDeleted?: boolean;
}
export interface MsgTempItem {
  messageTemplateName?: string;
  messageType?: string;
  notifyType?: string;
  templateCode?: string;
  templateContent?: string;
  handlerParams?: string;
  handlerUrl?: string;
  wechatMiniAppid?: string;
  wechatMiniPagePath?: string;
  messageTemplateGroupId?: string;
}

export interface ReqMsgDetails {
  messageType: string;
  notifyType: string;
}
